package ch9;

import java.io.BufferedReader;
import java.util.Scanner;

public class Test {
	public static void main(String[] args) {
	Scanner scanner = new Scanner(System.in);
	String phone = scanner.nextLine();
	StringBuffer buffer = new StringBuffer(phone);
	
	buffer.replace(3, 7, "****");
	System.out.println(buffer.toString());
	
	}
}
